package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.GasConsumeTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 合成上链费配置(sc_privilege_gas_conf)实体类
 *
 * @author jinpinhai
 * @since 2024-12-23 17:41:46
 * @description Generator
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_privilege_gas_conf")
public class PrivilegeGasConf extends SuperEntity<PrivilegeGasConf> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 消耗类型
     */
    private GasConsumeTypeEnum consumeType;
    /**
     * 消耗额度
     */
    private BigDecimal consumeCost;
    /**
     * 是否开启上链费
     */
    private Boolean gasConf;

}